package com.zrsx.searchmodel.service;

import com.zrsx.searchmodel.common.dto.RecordDTO;
import com.zrsx.searchmodel.common.entity.Record;
import com.zrsx.searchmodel.common.result.PageResult;

import java.util.List;

public interface RecordService {
    PageResult<Record> getRecords(RecordDTO recordDTO, int pageNum, int pageSize);

    List<Record> getRecordsByNum(Integer userId,int num);

    int getRecordCountByType(Integer userId, String recordType);
}
